﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "identity", DisableSyncStructure = true)]
	public partial class Identity {

		/// <summary>
		/// 身份编号（主键）
		/// </summary>
		[JsonProperty, Column(Name = "I_Id", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int IId { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "I_CreateTime", DbType = "datetime")]
		public DateTime? ICreateTime { get; set; }

		/// <summary>
		/// 身份名
		/// </summary>
		[JsonProperty, Column(Name = "I_Name", StringLength = 30)]
		public string IName { get; set; }

		/// <summary>
		/// 身份状态（0未启用，1启用，未启用则无法登录系统）
		/// </summary>
		[JsonProperty, Column(Name = "I_State", DbType = "int")]
		public int? IState { get; set; }

		/// <summary>
		/// 身份描述
		/// </summary>
		[JsonProperty, Column(Name = "I_Text", StringLength = 50)]
		public string IText { get; set; }

	}

}
